home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 32
/
Aminet 32 (1999)(Schatztruhe)[!][Aug 1999].iso
/
Aminet
/
comm
/
irc
/
NetbusKick.lha
/
README
< prev
Wrap
Text File
|
1999-05-02
|
5KB
|
129 lines
Netbus Kick v1.1 © 1999 Iain Simpson
Disclaimer:
I make no guarantee that this script will function properly for you, and your setup.
I works for me, and if it damages your computer, don't blame me. Use it at your own
risk.
The only guarantee that I make is that I have not put any backdoors in my code.
If you find that anything suspect it happening while you are running this script,
please let me know, and send the script that you are using, along with details of the
suspicious behaviour. The version on Aminet should be safe, but if you are in doubt, let
me know and I will send you a copy directly.
Distribution:
This script is freely distributable in its ORIGINAL form. Please do NOT alter this code
without permission from me. - I would rather that this script remained as reliable as possible.
Unlike authors of some scripts, I do not ask that you OP me wherever this script is
used, all I do ask is that you send me an email, saying that the script works fine,
is full of bugs, of no use to you, etc... Unless I get hundreds of emails ;), I'll reply to
every one I recieve.
Also I would appreciate any suggestions for improvements other than those mentioned below.
Requirements:
rexxsupport.library
rxsocket.library by Alfonso Ranieri (Aminet)
rmh.library by Alfonso Ranieri (In the rxsocket archive)
AmIRC by Oliver Wanger (Demo on Aminet)
As far as I am aware these are the only requirements, but if I have used any functions
from another external library, and the script fails to work, and rexx says that it can't
find a certain function, send me the output that you get, and I will look into it.
This script should work with most TCP stacks, if it doesn't tell me!
Installation:
Just copy the script wherever you like, and type this into a cli:
cd <your path>
rx netbuskick
Make sure that RexxMast is running!
The script will not work if you have already blocked the netbus or nuke ports (12345,12346, and
139), so you need to set your TCP stack to allow accesses, but still to log them, since this
script will not write to the syslog.
Notes:
When run, the script will display a message in the AmIRC window. When a connection is made, a
message will appear in the AmIRC window, giving info about the type of connection. If for any
reason, you want to quit the script, simply run it with the argument QUIT, and it should exit
within about 2 seconds. If you have to quit the script with a ctrl-c, you must type this into a
cli before the script will run again:
unsetenv nbkick
The script will not work if you are not connected to a server, or have not joined any channels. ;)
The script is only able to get the nick of the person connecting if they are on one of the
channels that you have currently joined.
About the Author:
Send bug reports, comments, suggestions, etc... to the following address:
iain@invbk.free-online.co.uk
Or I can be found on IRC at the following channels:
#AmIRC on Xnet (irc.xnet.org)
#radio1 on Xnet (irc.xnet.org)
#AmIRC is just starting out just now, so there will probably be nobody there but still
go there 'cos it'll never get started otherwise ;)
I go under the nick of MadSci
Future:
1. Extend the script for BO, etc... (please send details of ports etc...)
2. Make the script detect Amiga nukes, etc... (I need details of ports)
3. Check to see if you have OPs (next version)
4. Ban people who repeatedly try to connect. (The script has the ability to set bans
but it is turned off at the moment :P )
5. Make the script communicate with more than 1 copy of AmIRC, currently only communicates
with AMIRC.1 (next version hopefully)
6. Fix any bugs that you all find, provided there are any ;)
Suggestions?
People who helped me:
Thanks go to Alfonso Ranieri, for helping me with rxsocket library, and Kyle Sterry, for being
brave and testing the script on his machine. ;)
History:
Pre-v0.6 A collection of functions, not really useful yet.
v0.6 Buggy, used /who function of AmIRC, not reliable.
v0.7 Works fine, but needs Sniffy (by Alfonso Ranieri), decided not to release yet.
v0.8 Problems getting the script to get the IP ( thanks to Alfonso Ranieri for his help :) )
v0.9 Works without Sniffy, therefore no longer needs Miami. Made up of 3 different scripts.
v1.0 First Public Release, all the code is now in a single file.
v1.1 Second Public release, now supports nuke. Now has a quit option.
How the script works:
The script opens a socket which listens to the netbus port.
When a connection is made, the script gets the IP of the netbusser, and checks all the nicks
on IRC to see if they match.
The script then attempts to kick the matching nicks, (currently doesnt check to see it you
have OPs or not) so you will get an error saying that you aren't a channel operator unless
you have OPs.
The script also puts out a public message telling the person that they have been discovered.
If you have any questions that are not answered here, feel free to ask me ;)